<?php
/**
 * Created by PhpStorm.
 * User: lzy
 * Date: 2018/11/23
 * Time: 17:41
 */
namespace App\FreeBird\Contracts;

/**
 * 订单诉诉接口
 * Interface InfoComplaintInterface
 * @package App\FreeBird\Contracts
 */
interface  InfoComplaintInterface{
    /**
     * 编辑与修改
     * @param $data
     * @return mixed
     */
   public function updateAndCreate($data);

    /**
     * 查找单条
     * @param $where
     * @return mixed
     */
    public function findInfo($where);

    /**
     * 查找单条
     * @param $id
     * @return mixed
     */
    public function findById($id);

    /**
     * 获取列表
     * @param $where
     * @return mixed
     */
    public function getList($where);

    /**
     * 订单处理
     * @param $where
     * @return mixed
     */
    public function getListWith($where);

    /**
     * 显示详细
     * @param $data
     * @return mixed
     */
    public function getShowByOrderSn($orderSn);

    /**
     * 根据比率进行结束
     * @param $data
     * @return mixed
     */
    public function sendBiliUserBalance($data);
}